package com.caolei1992.api.business.system.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author caolei
 * @since 2019-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role")
public class Role implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 角色id
     */
    private String id;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 菜单权限
     */
    private String menuRights;

    /**
     * 父id
     */
    private String pid;

    /**
     * 创建时间
     */
    private Date createTime;

    private Date updateTime;
    /**
     * 状态
     */
    private Integer state;


}
